.class Lcom/xingbook/paint/i;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/widget/AdapterView$OnItemClickListener;


# instance fields
.field final synthetic a:Lcom/xingbook/paint/PaintGameAct;

.field private final synthetic b:Lcom/xingbook/paint/a;


# direct methods
.method constructor <init>(Lcom/xingbook/paint/PaintGameAct;Lcom/xingbook/paint/a;)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/paint/i;->a:Lcom/xingbook/paint/PaintGameAct;

    iput-object p2, p0, Lcom/xingbook/paint/i;->b:Lcom/xingbook/paint/a;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onItemClick(Landroid/widget/AdapterView;Landroid/view/View;IJ)V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/paint/i;->a:Lcom/xingbook/paint/PaintGameAct;

    iget-object v1, p0, Lcom/xingbook/paint/i;->a:Lcom/xingbook/paint/PaintGameAct;

    iget-object v1, v1, Lcom/xingbook/paint/PaintGameAct;->a:[I

    aget v1, v1, p3

    invoke-static {v0, v1}, Lcom/xingbook/paint/PaintGameAct;->b(Lcom/xingbook/paint/PaintGameAct;I)V

    iget-object v0, p0, Lcom/xingbook/paint/i;->a:Lcom/xingbook/paint/PaintGameAct;

    invoke-static {v0}, Lcom/xingbook/paint/PaintGameAct;->i(Lcom/xingbook/paint/PaintGameAct;)Landroid/graphics/drawable/GradientDrawable;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/paint/i;->a:Lcom/xingbook/paint/PaintGameAct;

    iget-object v1, v1, Lcom/xingbook/paint/PaintGameAct;->a:[I

    aget v1, v1, p3

    invoke-virtual {v0, v1}, Landroid/graphics/drawable/GradientDrawable;->setColor(I)V

    iget-object v0, p0, Lcom/xingbook/paint/i;->b:Lcom/xingbook/paint/a;

    invoke-virtual {v0, p3}, Lcom/xingbook/paint/a;->a(I)V

    iget-object v0, p0, Lcom/xingbook/paint/i;->b:Lcom/xingbook/paint/a;

    invoke-virtual {v0}, Lcom/xingbook/paint/a;->notifyDataSetInvalidated()V

    return-void
.end method
